package cate.common.table.activity.battleroyale.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.battleroyale.row.BattleRoyaleChapterRow;

public class BattleRoyaleChapterSheet extends ESheet<BattleRoyaleChapterRow> {
    @Override
    public String getSheetName() {
        return "章节";
    }

    public BattleRoyaleChapterRow getChapterRow(int group, int chapter){
        for(BattleRoyaleChapterRow row : getList()){
            if(group == row.group && row.chapter == chapter){
                return row;
            }
        }
        return null;
    }
}
